package com.timguan.render.api.entity.cms;

import java.io.Serializable;
import java.util.Arrays;

/**
 * Created by guankaiqiang on 2015/3/20.
 */
public class CMSDataProcessor implements Serializable {
    private String                      beanName;
    private String                      description;
    private boolean                     needCreateDatalistWhenUsed;
    private CMSDataProcessorParamInfo[] paramInfos;

    public boolean isNeedCreateDatalistWhenUsed() {
        return needCreateDatalistWhenUsed;
    }

    public void setNeedCreateDatalistWhenUsed(boolean needCreateDatalistWhenUsed) {
        this.needCreateDatalistWhenUsed = needCreateDatalistWhenUsed;
    }

    public String getBeanName() {
        return beanName;
    }
    public void setBeanName(String beanName) {
        this.beanName = beanName;
    }
    public String getDescription() {
        return description;
    }
    public void setDescription(String description) {
        this.description = description;
    }
    public CMSDataProcessorParamInfo[] getParamInfos() {
        return paramInfos;
    }
    public void setParamInfos(CMSDataProcessorParamInfo[] paramInfos) {
        this.paramInfos = paramInfos;
    }

    @Override
    public String toString() {
        return "CMSDataProcessor{" +
                "beanName='" + beanName + '\'' +
                ", description='" + description + '\'' +
                ", needCreateDatalistWhenUsed=" + needCreateDatalistWhenUsed +
                ", paramInfos=" + Arrays.toString(paramInfos) +
                '}';
    }
}
